package com.spark.lola.service.gds;

import com.spark.lola.entity.gds.ProductInfo;
import com.spark.lola.support.core.vo.SelectMap;
import com.spark.lola.support.mybatis.service.BaseService;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dengyejun
 * @since 2020-04-27
 */
public interface IProductInfoService extends BaseService<ProductInfo> {
    List<SelectMap> selectMap(Long categoryId, String key);

    List<ProductInfo> getListByCategoryId(Long categoryId,String key);

    Map<String,BigDecimal> supStatistics(Long productId, String start, String end);
}
